package com.yhhvip.admin.dao;

import com.yhhvip.admin.entity.Orders;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface OrdersMapper {
    int del(String ordersId);

    int save(Orders record);

    Orders findOne(String ordersId);

    int update(Orders record);

    List<Orders> selectOrderBycondition(Map<String, Object> map);

    Integer selectOrderByconditionCount(Map<String, Object> map);

    Orders ordersById(@Param("ordersId") String ordersId);
}